/* Stack Menu Effect */
$(".top button").click(function () {
  $(".top ul a").first().toggle("fast", function showNext() {
    $(this).next(".top ul a").toggle("fast", showNext);
  });
});

/* Sidebar */
$('.brand button').click(function() {
    $('aside').toggle(500);
});

/* Article Thumbnail Resize */
function resizeThumb(el, from, to) {
    $(el).each(function() {
        $(this).attr({
            'src': $(this).attr('src').replace('/s'+from+'-c/', '/s'+to+'-c/'),
            'width': to, 'height': to
        });
    });
}
$(function() {
    resizeThumb('article img', '72', '400'); // Ubah ukuran thumbnail dari 72 menjadi 200
});